package com.then.component.club.di;


import android.arch.lifecycle.ViewModel;

import com.then.architecture.di.BaseViewModelModule;
import com.then.architecture.di.ViewModelKey;
import com.then.component.club.ui.ClubListActivityViewModel;

import dagger.Binds;
import dagger.Module;
import dagger.multibindings.IntoMap;

/**
 * Created by 42524 on 2018/1/12.
 */
@Module(includes = BaseViewModelModule.class)
public abstract class ViewModelModule {

    @Binds
    @IntoMap
    @ViewModelKey(ClubListActivityViewModel.class)
    abstract ViewModel bindViewModel(ClubListActivityViewModel loginViewModel);

}
